package com.mmy.service.group.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.mmy.dao.group.TGroupSceneryRepository;
import com.mmy.util.CodeUtil;

/**
 * @vesion 
 * @description 
 * @author liys
 * @date 2021-5-27
 */

@Service
public class GroupSellServiceImpl {
	
	@Autowired
	TGroupSceneryRepository dao;
	/** 
	  * @descr 获得最大编号 
	  * @param 
	  * @return 
	  * @throws 
	  * @author liys
	  * @date 2021-6-1
	 */
	public int getMaxID() {
		 Object objCode = dao.getMaxID();
		 return CodeUtil.MaxID(objCode);
	 }
}
